
package com.dstz.form.request;

import com.dstz.base.db.model.query.DefaultPage;

/**
 * 
 * 对象功能:自定义列表查询
 * 开发公司:向刚制作
 * @author xianggang
 * @date 2019年9月2日 下午2:04:47
 */
public class SqlViewRequest extends DefaultPage {
	
	private static final long serialVersionUID = 1L;
	
	// 主键
	private String id;
	
	// catType sql分类
	private String catType;
	
	/** 表名 TABLE_NAME **/
	private String tableName;
	
	/** 类型  TYPE **/
	private Integer type;
	
	private String code;
	
	// params
	private String params;
	
	// data
	private String data;
	
	// fieldColumns
	private String fieldColumns;
	
	// dataId
	private String dataId;
	
	/** 视图定义名称 NAME **/
	private String name;
	
	/** 是否启用 IS_ENABLED **/
	private Integer isEnabled;
	
	/** 查询条件 CONDITIONS **/
	private String conditions;
	
	/** 是否初始化查询 INIT_QUERY **/
	private Integer initQuery;
	
	/** 显示行号 SHOW_ROWS_NUM **/
	private Integer showRowsNum;
	
	/** 每行的panel个数 PANEL_NUM **/
	private String panelNum;
	
	/** 是否启用对话框 DIALOG **/
	private Integer dialog;
	
	/** 扩展信息 EXPAND **/
	private String expand;
	
	/** 是否支持crud CRUD **/
	private String crud;
	
	/** 是否启用图表功能 CHART **/
	private Integer chart;
	
	// 主表的主键
	private String mainTableId;
	
	private int curPage;
	
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCatType() {
		return catType;
	}

	public void setCatType(String catType) {
		this.catType = catType;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getFieldColumns() {
		return fieldColumns;
	}

	public void setFieldColumns(String fieldColumns) {
		this.fieldColumns = fieldColumns;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	public String getConditions() {
		return conditions;
	}

	public void setConditions(String conditions) {
		this.conditions = conditions;
	}

	public Integer getInitQuery() {
		return initQuery;
	}

	public void setInitQuery(Integer initQuery) {
		this.initQuery = initQuery;
	}

	public Integer getShowRowsNum() {
		return showRowsNum;
	}

	public void setShowRowsNum(Integer showRowsNum) {
		this.showRowsNum = showRowsNum;
	}

	public String getPanelNum() {
		return panelNum;
	}

	public void setPanelNum(String panelNum) {
		this.panelNum = panelNum;
	}

	public Integer getDialog() {
		return dialog;
	}

	public void setDialog(Integer dialog) {
		this.dialog = dialog;
	}

	public String getExpand() {
		return expand;
	}

	public void setExpand(String expand) {
		this.expand = expand;
	}

	public String getCrud() {
		return crud;
	}

	public void setCrud(String crud) {
		this.crud = crud;
	}

	public Integer getChart() {
		return chart;
	}

	public void setChart(Integer chart) {
		this.chart = chart;
	}

	public String getMainTableId() {
		return mainTableId;
	}

	public void setMainTableId(String mainTableId) {
		this.mainTableId = mainTableId;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}
	
}